<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拉丁转特正文工具</title>
    <link rel="stylesheet" href="../../css/pajne.css">
    <link rel="stylesheet" href="../stylesheet.css">
    <script src="https://cdn.jsdelivr.net/npm/@kurgm/kage-engine@0.5.0/dist/kage.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/ulid@2.3.0/dist/index.umd.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/file-saver@2.0.5/dist/FileSaver.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/canvg/3.0.7/umd.min.js"></script>
    <script src="https://sharonchoong.github.io/svg-exportJS/svg-export.min.js"></script>
    <script src="sunti-browser.js"></script>
    <script src="fitenkage-browser.js"></script>
    <script src="conv.js"></script>
    <style>
        textarea {
            width: 100%;
        }
    </style>
    <script>
        window.onload = function() {
            conv()
        }        
    </script>
</head>
<body>
    <h1>拉丁转特正文工具</h1>
    <a href="..">◀ 返回上层</a>
    <p>
        <div class="label">输入拉丁</div>
        <div class="card lab">
            <textarea name="lat" id="lat">ns , MI`n |gc fpi f't'nk ,,</textarea>
            <br>
            <button onclick="conv()">转换</button>
        </div>
    </p>
    <p>
        <div class="label">输出预览</div>
        <div class="card lab">
            <div id="fit" style="background-color:#fff"></div>
        </div>
        <button onclick="dldsvg()">下载svg</button>
        <button onclick="dldpng()">下载png</button>
    </p>
    <!-- <p>
        <div class="label">SVG代码</div>
        <div class="card lab">
        <textarea id="svg" name="fit"></textarea>
        <br>
        </div>
    </p> -->
</body>
</html>